package com.bc.mes.mbg.mapper;

import com.bc.mes.mbg.model.dv.DvSubject;
import com.bc.mes.mbg.model.dv.DvSubjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DvSubjectMapper {
    int countByExample(DvSubjectExample example);

    int deleteByExample(DvSubjectExample example);

    int deleteByPrimaryKey(Long subjectId);

    int insert(DvSubject record);

    int insertSelective(DvSubject record);

    List<DvSubject> selectByExample(DvSubjectExample example);

    DvSubject selectByPrimaryKey(Long subjectId);

    int updateByExampleSelective(@Param("record") DvSubject record, @Param("example") DvSubjectExample example);

    int updateByExample(@Param("record") DvSubject record, @Param("example") DvSubjectExample example);

    int updateByPrimaryKeySelective(DvSubject record);

    int updateByPrimaryKey(DvSubject record);
}